package cn.kgc.service.impl;


import cn.kgc.dao.ManMapper;
import cn.kgc.pojo.AppInfo;
import cn.kgc.pojo.BackendUser;
import cn.kgc.service.ManSercive;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * 后台管理Sercive实现类
 */
@Service
public class ManSerciveImpl implements ManSercive {
    @Autowired
    private ManMapper manMapper;

    /**
     * 后台管理登录
     *
     * @param userCode
     * @param userPassword
     */
    @Override
    public BackendUser magLogin(String userCode, String userPassword) {
        BackendUser backendUser = manMapper.magLogin(userCode, userPassword);
        return backendUser;
    }

}